Skip to content

Commit 1853882

Browse files
Copilottakker99
andcommitted
Fix doc tests by adding ignore directive to README examples
Co-authored-by: takker99 <37929109+takker99@users.noreply.github.com>
1 parent a8009e2 commit 1853882

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ npm install @cosense/types
3737

3838
Import the library:
3939

40-
```ts
40+
```typescript ignore
4141
// ESM syntax
4242
import type { PageList } from "@cosense/types/rest";
4343
import type { Scrapbox } from "@cosense/types/userscript";
4444
```
4545

4646
### Usage Examples
4747

48-
```ts
48+
```typescript ignore
4949
// Example for JSR (Deno)
5050
import type { PageList } from "jsr:@cosense/types/rest";
5151

@@ -60,7 +60,7 @@ const pages: PageList = {
6060

6161
For npm users:
6262

63-
```ts
63+
```typescript ignore
6464
// Example for npm (Node.js)
6565
import type { PageList } from "@cosense/types/rest";
6666
import type { Scrapbox } from "@cosense/types/userscript";

0 commit comments

Comments
 (0)