mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-24 15:16:07 +09:00
Create type definition for '*/meta.json' (#4073)
This commit is contained in:
parent
bfc93bf83a
commit
c6032c6d36
3
src/@types/meta.json.d.ts
vendored
Normal file
3
src/@types/meta.json.d.ts
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
declare module '*/meta.json' {
|
||||
const version: string;
|
||||
}
|
@ -6,7 +6,7 @@ import define from '../define';
|
||||
import fetchMeta from '../../../misc/fetch-meta';
|
||||
import * as pkg from '../../../../package.json';
|
||||
|
||||
const client = require('../../../../built/client/meta.json');
|
||||
import * as client from '../../../../built/client/meta.json';
|
||||
|
||||
export const meta = {
|
||||
stability: 'stable',
|
||||
|
Loading…
Reference in New Issue
Block a user