Skip to content

Commit 734ecfc

Browse files
committed
fix types
1 parent ce11f0f commit 734ecfc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "validate-html-nesting",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Validate parent-child nesting for HTML elements",
55
"main": "src/index.js",
66
"types": "./src/types.d.ts",

src/types.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
declare function isValidHTMLNesting(parentTag: string, childTag: string): boolean;
1+
export function isValidHTMLNesting(parentTag: string, childTag: string): boolean;

0 commit comments

Comments
 (0)