mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
565 B
Plaintext
11 lines
565 B
Plaintext
//// [tests/cases/compiler/parameterPropertyWithDefaultValue.ts] ////
|
|
|
|
=== parameterPropertyWithDefaultValue.ts ===
|
|
export class SomeClass {
|
|
>SomeClass : Symbol(SomeClass, Decl(parameterPropertyWithDefaultValue.ts, 0, 0))
|
|
|
|
constructor(readonly timestamp = new Date()) {}
|
|
>timestamp : Symbol(SomeClass.timestamp, Decl(parameterPropertyWithDefaultValue.ts, 1, 14))
|
|
>Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
|
}
|