morphit/node_modules/eslint-plugin-svelte/lib/utils/svelte-kit.d.ts

10 lines
351 B
TypeScript

/**
* refer: https://github.com/mysticatea/eslint-plugin-node/blob/f45c6149be7235c0f7422d1179c25726afeecd83/lib/util/get-package-json.js
*/
import type { RuleContext } from '../types';
/**
* return true if it's a SvelteKit page component.
* @param context
* @returns
*/
export declare function isKitPageComponent(context: RuleContext): boolean;