-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
I am using V2 doT like so:
import * as doT from 'doT';
const tmpl = doT.template("{{=foo}}{{=bar}}", {argName: ["foo", "bar"]})
tmpl({foo: 1, bar: 2}) // "12"
And it works just dandy. However, I am not seeing any types. In vscode I get the following message on my import:
Could not find a declaration file for module 'doT'. 'node_modules/dot/doT.js' implicitly has an 'any' type.ts(7016)
Am I missing something? It would be helpful to see an example with working types.
Metadata
Metadata
Assignees
Labels
No labels