"添加前端模板和运行代码模块"
This commit is contained in:
10
qiming-vite-plugin-design-mode/packages/client-shared/src/sourceInfo.d.ts
vendored
Normal file
10
qiming-vite-plugin-design-mode/packages/client-shared/src/sourceInfo.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { SourceInfo } from './messages';
|
||||
/**
|
||||
* Whether the element carries the compact JSON `{prefix}-info` attribute.
|
||||
*/
|
||||
export declare function hasSourceMapping(element: HTMLElement): boolean;
|
||||
/**
|
||||
* Parse `{prefix}-info` JSON into `SourceInfo`, or null when missing/invalid.
|
||||
*/
|
||||
export declare function extractSourceInfo(element: HTMLElement): SourceInfo | null;
|
||||
//# sourceMappingURL=sourceInfo.d.ts.map
|
||||
Reference in New Issue
Block a user