We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dab0fb7 commit de2a074Copy full SHA for de2a074
field/field-test.ts
@@ -1,6 +1,7 @@
1
// From https://github.com/jprichardson/field/blob/e968fd979ba1a06e35571695ddfdad513e516eae/README.md
2
3
/// <reference path="field.d.ts" />
4
+import * as field from 'field';
5
6
// get
7
field/field.d.ts
@@ -3,7 +3,7 @@
// Definitions by: Leo Liang <https://github.com/aleung/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-declare module field {
+declare module 'field' {
export function get(topObj: any, fields: string): any;
8
export function set(topObj: any, fields: string, value: any): any;
9
}
0 commit comments