diff --git a/apps/docs/reset.d.ts b/apps/docs/reset.d.ts new file mode 100644 index 0000000..0b49d7c --- /dev/null +++ b/apps/docs/reset.d.ts @@ -0,0 +1,2 @@ +// Do not add any other lines of code to this file! +import "@total-typescript/ts-reset" diff --git a/apps/web/reset.d.ts b/apps/web/reset.d.ts new file mode 100644 index 0000000..0b49d7c --- /dev/null +++ b/apps/web/reset.d.ts @@ -0,0 +1,2 @@ +// Do not add any other lines of code to this file! +import "@total-typescript/ts-reset" diff --git a/package.json b/package.json index 43246e7..77c1eb2 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "tailwind-merge": "^1.10.0" }, "devDependencies": { + "@total-typescript/ts-reset": "^0.4.2", "autoprefixer": "^10.4.14", "eslint-config-custom": "*", "patch-package": "^6.5.1", diff --git a/packages/ui/Button.tsx b/packages/ui/Button.tsx index 7d5c6a7..f40c572 100644 --- a/packages/ui/Button.tsx +++ b/packages/ui/Button.tsx @@ -1,4 +1,4 @@ -import * as React from "react"; +import * as React from "react" export const Button = () => { - return ; -}; + return +} diff --git a/packages/ui/reset.d.ts b/packages/ui/reset.d.ts new file mode 100644 index 0000000..0b49d7c --- /dev/null +++ b/packages/ui/reset.d.ts @@ -0,0 +1,2 @@ +// Do not add any other lines of code to this file! +import "@total-typescript/ts-reset" diff --git a/yarn.lock b/yarn.lock index 2bcad51..455025c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2160,6 +2160,11 @@ dependencies: tslib "^2.4.0" +"@total-typescript/ts-reset@^0.4.2": + version "0.4.2" + resolved "https://registry.yarnpkg.com/@total-typescript/ts-reset/-/ts-reset-0.4.2.tgz#c564c173ba09973968e1046c93965b7a257878a4" + integrity sha512-vqd7ZUDSrXFVT1n8b2kc3LnklncDQFPvR58yUS1kEP23/nHPAO9l1lMjUfnPrXYYk4Hj54rrLKMW5ipwk7k09A== + "@types/acorn@^4.0.0": version "4.0.6" resolved "https://registry.yarnpkg.com/@types/acorn/-/acorn-4.0.6.tgz#d61ca5480300ac41a7d973dd5b84d0a591154a22"