Types-for-Adobe
Types-for-Adobe copied to clipboard
Triple-slash directive doesn't work: cannot find type definition file
OS: Debian 11 TypeScript: Version 4.7.3
The Readme file suggests to use the triple-slash directive for including type definitions. For example
/// <reference types="types-for-adobe/Premiere/14.0""/>
This doesn't work for me: I get "Cannot find type definition file for 'types-for-adobe/Premiere/14.0"'.
The only way to specify type definitions is via the tsconfig.json file, like so:
{
[...]
"compilerOptions": {
[...]
"types": [
"types-for-adobe/Premiere/14.0"
]
}
}