Created
January 4, 2021 11:19
-
-
Save eemeli/a860c474d8a8a221985aa3fc883baed0 to your computer and use it in GitHub Desktop.
Minimal repro for TypeStrong/typedoc#1449
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function fails<T extends [foo: any, bar?: any]>(a: T): T { | |
return a; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "typedoc-tuple-error", | |
"version": "1.0.0", | |
"scripts": { | |
"test": "typedoc index.ts" | |
}, | |
"author": "Eemeli Aro <[email protected]>", | |
"license": "ISC", | |
"devDependencies": { | |
"typedoc": "^0.20.10", | |
"typescript": "^4.1.3" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To reproduce:
npm install
npm test