Skip to content

Commit 7ec2b78

Browse files
committed
style: add extensions to type imports
1 parent 609fc7b commit 7ec2b78

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/attr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type {CustomElement} from './custom-element'
1+
import type {CustomElement} from './custom-element.js'
22

33
const attrs = new WeakMap<Record<PropertyKey, unknown>, string[]>()
44
type attrValue = string | number | boolean

src/controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {register} from './register.js'
22
import {bind} from './bind.js'
33
import {autoShadowRoot} from './auto-shadow-root.js'
4-
import {defineObservedAttributes, initializeAttrs} from './attr.js'
5-
import type {CustomElement} from './custom-element'
4+
import {defineObservedAttributes, initializeAttrs} from './attr.ts'
5+
import type {CustomElement} from './custom-element.js'
66

77
/**
88
* Controller is a decorator to be used over a class that extends HTMLElement.

src/register.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type {CustomElement} from './custom-element'
1+
import type {CustomElement} from './custom-element.js'
22

33
/**
44
* Register the controller as a custom element.

0 commit comments

Comments
 (0)