Getting a new error when compiling delay library. Attempt to stop autogenerating d.ts files.
src/delay/index.ts:11:10 - error TS2384: Overload signatures must all be ambient or non-ambient.
This commit is contained in:
parent
d7baa4d17b
commit
6116ada2fd
app
|
@ -1,8 +0,0 @@
|
||||||
/**
|
|
||||||
* Delay in an async/await function
|
|
||||||
*
|
|
||||||
* @param {integer} ms Milliseconds to delay for
|
|
||||||
*
|
|
||||||
* @returns {Promise} Promise to resolve after timeout
|
|
||||||
**/
|
|
||||||
declare function delay(ms: number): Promise<unknown>;
|
|
|
@ -4,6 +4,7 @@
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"target": "ES2016",
|
"target": "ES2016",
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
|
"declaration": false,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"removeComments" : false,
|
"removeComments" : false,
|
||||||
|
|
Loading…
Reference in New Issue