From 08b151eb07f9704080cc68db7e3ab551fafca368 Mon Sep 17 00:00:00 2001 From: andrew jarrett Date: Sun, 5 May 2024 21:44:33 -0500 Subject: [PATCH] docs: use namespace import in attest docs to avoid name collision (#946) --- ark/attest/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ark/attest/README.md b/ark/attest/README.md index 5ebc695c83..550043fe93 100644 --- a/ark/attest/README.md +++ b/ark/attest/README.md @@ -37,12 +37,12 @@ export default defineConfig({ `setupVitest.ts` ```ts -import { setup, teardown } from "@arktype/attest" +import * as attest from "@arktype/attest" // config options can be passed here -export const setup = () => setup({}) +export const setup = () => attest.setup({}) -export const teardown = teardown +export const teardown = attest.teardown ``` ### Mocha