mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
289 B
TypeScript
14 lines
289 B
TypeScript
//// [tests/cases/compiler/deleteReadonlyInStrictNullChecks.ts] ////
|
|
|
|
//// [deleteReadonlyInStrictNullChecks.ts]
|
|
interface Function { readonly name: string; }
|
|
class Foo {}
|
|
delete Foo.name;
|
|
|
|
|
|
//// [deleteReadonlyInStrictNullChecks.js]
|
|
"use strict";
|
|
class Foo {
|
|
}
|
|
delete Foo.name;
|