mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
287 B
TypeScript
11 lines
287 B
TypeScript
//// [tests/cases/conformance/classes/constructorDeclarations/constructorParameters/readonlyInAmbientClass.ts] ////
|
|
|
|
//// [readonlyInAmbientClass.ts]
|
|
declare class C{
|
|
constructor(readonly x: number);
|
|
method(readonly x: number);
|
|
}
|
|
|
|
//// [readonlyInAmbientClass.js]
|
|
"use strict";
|