Skip to content

Commit

Permalink
fix type import
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed May 21, 2024
1 parent 274cd96 commit e9b11ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utilities.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { CPACode, CPACodeCategory } from './types';
import type { CPACode, CPACodeCategory } from './types.js';
/**
* Retrieves a category object from a given list.
* @param {object[]} categoryList - A list of CPA code category objects.
Expand Down
2 changes: 1 addition & 1 deletion utilities.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { CPACode, CPACodeCategory } from './types'
import type { CPACode, CPACodeCategory } from './types.js'

function _validateCodeFormat(cpaCode: string): boolean {
return /^\d{3}$/.test(cpaCode)
Expand Down

0 comments on commit e9b11ad

Please sign in to comment.