- Add portable byte and Unicode Base64 helpers backed by js-base64 - Replace manual binary-string, Buffer, and unsupported typed-array conversions - Cover binary, Unicode, URL-safe, malformed, and large inputs
22 lines
341 B
TypeScript
22 lines
341 B
TypeScript
interface FontData {
|
|
family: string
|
|
fullName: string
|
|
postscriptName: string
|
|
style: string
|
|
blob(): Promise<Blob>
|
|
}
|
|
|
|
interface Window {
|
|
queryLocalFonts?(): Promise<FontData[]>
|
|
}
|
|
|
|
declare module '*.md' {
|
|
const content: string
|
|
export default content
|
|
}
|
|
|
|
declare module '*?raw' {
|
|
const content: string
|
|
export default content
|
|
}
|