We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03eb1ee commit 7841523Copy full SHA for 7841523
README.md
@@ -80,6 +80,13 @@ Via yarn
80
yarn add ts-pattern
81
```
82
83
+The Deno distribution of the module is published as [ts_pattern](https://deno.land/x/ts_pattern) on `deno.land/x`
84
+
85
+```typescript
86
+import { match, P } from 'https://deno.land/x/ts_pattern@v<X.Y.Z>/mod.ts';
87
+```
88
+Replace `<X.Y.Z>` by [the latest version](https://github.com/gvergnaud/ts-pattern/tags).
89
90
### Compatibility with different TypeScript versions
91
92
Note: TS-Pattern assumes [Strict Mode](https://www.typescriptlang.org/tsconfig#strict) is enabled in your `tsconfig.json` file.
0 commit comments