Files
DefinitelyTyped/types/deep-freeze/deep-freeze-tests.ts
Aluan Haddad 8fb52b5f6c Update deep-freeze-tests.ts
Fix tests
2017-05-26 11:08:36 -04:00

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'}]);