mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Merge pull request #12366 from Microsoft/declarationsInFilesWithErrors
[Release 2.1] Fixes for #12291 and #12326: Declaration emit when there are errors in the source file
This commit is contained in:
commit
707ed699bb
8 files changed
+62
-1
No files matched your search
@@ -0,0 +1,4 @@
|
||||
// @declaration: true
|
||||
|
||||
class A { }
|
||||
interface Class extends (typeof A) { }
|
||||
@@ -0,0 +1,3 @@
|
||||
// @declaration: true
|
||||
|
||||
type A<T extends Unknown> = {}
|
||||
Reference in new issue
Block a user