Skip to content

Commit

Permalink
Merge pull request #13 from faergeek/add-extensions-to-imports
Browse files Browse the repository at this point in the history
fix: add extensions to module imports
  • Loading branch information
faergeek authored Feb 10, 2024
2 parents 6b9c9fe + a003f60 commit 8c582b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/async.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Maybe } from './maybe';
import { Maybe } from './maybe.js';

/**
* An abstract box representing asynchronous value state.
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export { Async } from './async';
export { Maybe } from './maybe';
export { Result } from './result';
export { Async } from './async.js';
export { Maybe } from './maybe.js';
export { Result } from './result.js';
2 changes: 1 addition & 1 deletion src/result.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Maybe } from './maybe';
import { Maybe } from './maybe.js';

/**
* An abstract box representing success or failure.
Expand Down

0 comments on commit 8c582b7

Please sign in to comment.