mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 00:21:41 +08:00
14 lines
405 B
TypeScript
14 lines
405 B
TypeScript
// Type definitions for deep-freeze
|
|
// Project: https://github.com/substack/deep-freeze
|
|
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare var deepFreeze: DeepFreeze.DeepFreezeInterface;
|
|
export = deepFreeze;
|
|
|
|
declare namespace DeepFreeze {
|
|
export interface DeepFreezeInterface {
|
|
<T>(obj: T): T;
|
|
}
|
|
}
|