Skip to content

Commit

Permalink
removed default export
Browse files Browse the repository at this point in the history
got annoying in the docs
  • Loading branch information
cptpiepmatz committed Dec 4, 2024
1 parent cc8c14a commit 89300f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ allowing you to construct new ones programmatically.
### Parsing Tag URIs

```ts
import TagUri from "@cptpiepmatz/tag-uri";
import { TagUri } from "@cptpiepmatz/tag-uri";

// Parse a tag URI
const tag = TagUri.parse("tag:[email protected],2001:web/externalHome");
Expand All @@ -64,7 +64,7 @@ console.log(tag.specific); // web/externalHome
### Constructing Tag URIs

```ts
import TagUri from "@cptpiepmatz/tag-uri";
import { TagUri } from "@cptpiepmatz/tag-uri";

// Create a new tag URI
const tag = new TagUri({
Expand Down
2 changes: 1 addition & 1 deletion src/mod.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "jsr:@std/expect";
import TagUri from "./mod.ts";
import { TagUri } from "./mod.ts";
import { TagUriParsingError } from "./error.ts";

const tags = [
Expand Down
2 changes: 0 additions & 2 deletions src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,3 @@ export class TagUri {
}
}
}

export default TagUri;

0 comments on commit 89300f5

Please sign in to comment.