From dbfca207b40e0f4b9c700a308bde9dc1de02da1e Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sat, 13 Mar 2021 23:46:24 +0000 Subject: [PATCH] refactor: move to ts config --- nuxt.config.js => nuxt.config.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) rename nuxt.config.js => nuxt.config.ts (95%) diff --git a/nuxt.config.js b/nuxt.config.ts similarity index 95% rename from nuxt.config.js rename to nuxt.config.ts index 3d99cb3e..1b3eab17 100644 --- a/nuxt.config.js +++ b/nuxt.config.ts @@ -1,8 +1,6 @@ -// @ts-check -/** - * @type {import('@nuxt/types').NuxtConfig} config - */ -const config = { +import type { NuxtConfig } from '@nuxt/types' + +export default { target: 'static', srcDir: 'src', @@ -99,5 +97,3 @@ const config = { modules: ['@nuxt/content'], } - -export default config -- knotmirror 0.0.1