-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hello, the idea behind this library is awesome!
Unfortunately, I can't make it work with typescript:
const TIMEOUT_LIMIT = tp.ONE_HOURError: Property 'ONE_HOUR' does not exist on type '<T extends string>(time: ValidArg<T>) => number'
const TIMEOUT_LIMIT = tp`one hour` Errors:
Type instantiation is excessively deep and possibly infinite.Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels