I have the typescript compiler reported /lib/index.d.ts(33,31): error TS7006: Parameter 'T' implicitly has an 'any' type.
Looks like there is typo under the file lib/index.d.ts
/**
* set the data for an existing node (will throw an Error if the node does not exist)
* @param {string} name
* @param data
*/
setNodeData(name: string, T): void;
Should be like below?
/**
* set the data for an existing node (will throw an Error if the node does not exist)
* @param {string} name
* @param data
*/
setNodeData(name: string, data?: T): void;
I am new to typescript, maybe I haven't got my tsconfig.json setup properly..
Hi,
I have the typescript compiler reported /lib/index.d.ts(33,31): error TS7006: Parameter 'T' implicitly has an 'any' type.
Looks like there is typo under the file lib/index.d.ts
Should be like below?
I am new to typescript, maybe I haven't got my tsconfig.json setup properly..