Fix bug: symbol.valueDeclaration not guaranteed to be defined (#26267)

This commit is contained in:
Andy
2018-08-07 12:13:45 -07:00
committed by GitHub
parent 32e99ba8f9
commit eaf0d59d35
6 changed files with 95 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
class C extends (class {} as new () => Readonly<{ attrib: number }>) {
constructor() {
super()
this.attrib = 2
}
}