We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cbff11 commit e2dc735Copy full SHA for e2dc735
1 file changed
test/types.test-d.ts
@@ -7,6 +7,18 @@ test("types", () => {
7
{},
8
{ name: "foo" },
9
{ version: "1.0.0" },
10
+ // Partial objects
11
+ {
12
+ bugs: {},
13
+ bin: {},
14
+ dependencies: {},
15
+ devDependencies: {},
16
+ repository: { type: "", url: "" }, // TODO: should empty strings be allowed?
17
+ exports: {},
18
+ imports: {},
19
+ typesVersions: {},
20
+ publishConfig: {},
21
+ },
22
// Exports field
23
{ exports: "./index.mjs" },
24
{ exports: {} },
0 commit comments