-
Notifications
You must be signed in to change notification settings - Fork 0
TypeScript
alex [dot] kramer [at] g_m_a_i_l [dot] com edited this page Apr 29, 2022
·
7 revisions
See https://localhost.adobe.com:31338/templates/bfebc6a4-6d25-42ba-a52a-3eb070c98c5f
Possible solutions:
- Try running
npm i @types/my-untyped-moduleto see if someone has added type declarations to DefinitelyTyped - Create (or add to) a
declarations.d.tsfile with the linedeclare module "my-untyped-module"and make sure the file is in one of the directories intsconfig.json's"include": [...].
type TYPE_HELPER = ReturnType<typeof someFunction>;