remove explicity typescript version (#1285)

* remove explicity typescript version

* i hate javascript
This commit is contained in:
Hayden 2022-05-25 10:14:24 -08:00 committed by GitHub
parent 921fceddea
commit 7609715d9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 12 deletions

View file

@ -1,5 +1,8 @@
module.exports = {
root: true,
settings: {
"import/ignore": ["@vueuse*"],
},
env: {
browser: true,
node: true,

View file

@ -57,8 +57,7 @@
<script lang="ts">
import { defineComponent, computed, toRefs, reactive, useContext } from "@nuxtjs/composition-api";
import { whenever } from "@vueuse/shared";
import { useClipboard, useShare } from "@vueuse/core";
import { useClipboard, useShare, whenever } from "@vueuse/core";
import { RecipeShareToken } from "~/types/api-types/recipe";
import { useUserApi } from "~/composables/api";
import { alert } from "~/composables/use-toast";

View file

@ -4,10 +4,10 @@
<slot v-bind="{ state, toggle }"></slot>
</component>
</template>
<script lang="ts">
import { defineComponent, watch } from "@nuxtjs/composition-api";
import { useToggle } from "@vueuse/shared";
import { useToggle } from "@vueuse/core";
export default defineComponent({
props: {
@ -34,4 +34,3 @@ export default defineComponent({
},
});
</script>

View file

@ -51,7 +51,6 @@
"lint-staged": "^12.4.2",
"nuxt-vite": "0.2.3",
"prettier": "^2.3.2",
"typescript": "^4.7.2",
"vue2-script-setup-transform": "^0.3.5"
}
}

View file

@ -17,7 +17,15 @@
"~/*": ["./*"],
"@/*": ["./*"]
},
"types": ["@nuxt/types", "@nuxtjs/axios", "@types/node", "@nuxtjs/i18n", "@nuxtjs/auth-next", "@nuxtjs/vuetify", "@types/sortablejs"]
"types": [
"@nuxt/types",
"@nuxtjs/axios",
"@types/node",
"@nuxtjs/i18n",
"@nuxtjs/auth-next",
"@nuxtjs/vuetify",
"@types/sortablejs"
]
},
"include": ["**/*", ".eslintrc.js"],
"exclude": ["node_modules", ".nuxt", "dist"],

View file

@ -10729,11 +10729,6 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
typescript@^4.7.2:
version "4.7.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.2.tgz#1f9aa2ceb9af87cca227813b4310fff0b51593c4"
integrity sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==
typescript@~4.2:
version "4.2.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961"