Skip to content

Commit

Permalink
docs: fix scope example import
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge authored Jan 23, 2025
1 parent 94857b1 commit 658512b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ark/docs/content/docs/scopes/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To define a scope, you may either `import { scope } from "arktype"` or use `type
A scope is specified as an object literal mapping names to definitions.

```ts
import { type } from "arktype"
import { scope } from "arktype"

const coolScope = scope({
// keywords are still available in your scope
Expand Down

0 comments on commit 658512b

Please sign in to comment.