mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
8 lines
139 B
TypeScript
8 lines
139 B
TypeScript
import df = require('deep-freeze');
|
|
|
|
class Foo {
|
|
foo: string;
|
|
}
|
|
const foo = df(new Foo());
|
|
const items = df([{id: 0, name: 'first'}]);
|