mirror of
https://github.com/fmhy/edit.git
synced 2025-08-01 00:32:30 +10:00
wip: init
This commit is contained in:
parent
45d9157281
commit
2606a39f8d
10 changed files with 1670 additions and 55 deletions
34
docs/.vitepress/vue-shim.d.ts
vendored
34
docs/.vitepress/vue-shim.d.ts
vendored
|
@ -13,8 +13,38 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* eslint-disable ts/consistent-type-imports */
|
||||
declare const __VP_HASH_MAP__: Record<string, string>
|
||||
declare const __VP_LOCAL_SEARCH__: boolean
|
||||
declare const __ALGOLIA__: boolean
|
||||
declare const __CARBON__: boolean
|
||||
declare const __VUE_PROD_DEVTOOLS__: boolean
|
||||
declare const __ASSETS_DIR__: string
|
||||
|
||||
declare module '*.vue' {
|
||||
const component: import('vue').Component
|
||||
import type { DefineComponent } from 'vue'
|
||||
const component: DefineComponent
|
||||
export default component
|
||||
}
|
||||
|
||||
declare module '@siteData' {
|
||||
import type { SiteData } from 'vitepress'
|
||||
const data: SiteData
|
||||
export default data
|
||||
}
|
||||
|
||||
declare module '@theme/index' {
|
||||
import type { Theme } from 'vitepress'
|
||||
const theme: Theme
|
||||
export default theme
|
||||
}
|
||||
|
||||
declare module '@localSearchIndex' {
|
||||
const data: Record<string, () => Promise<{ default: string }>>
|
||||
export default data
|
||||
}
|
||||
|
||||
declare module 'mark.js/src/vanilla.js' {
|
||||
import type Mark from 'mark.js'
|
||||
const mark: typeof Mark
|
||||
export default mark
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue