mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
356 B
TypeScript
20 lines
356 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509630.ts] ////
|
|
|
|
//// [parser509630.ts]
|
|
class Type {
|
|
public examples = [ // typing here
|
|
}
|
|
class Any extends Type {
|
|
}
|
|
|
|
|
|
//// [parser509630.js]
|
|
"use strict";
|
|
class Type {
|
|
constructor() {
|
|
this.examples = []; // typing here
|
|
}
|
|
}
|
|
class Any extends Type {
|
|
}
|