This repository was archived by the owner on Feb 23, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export type UnicodeEmojiDef = {
1111} ;
1212
1313// initial converted from https://github.com/muan/emojilib/commit/242fe68be86ed6536843b83f7e32f376468b38fb
14- import _emojilist from './emojilist.json' with { type : 'json' } ;
14+ import _emojilist from './emojilist.json' ;
1515
1616async function loadEmojiList ( ) {
1717 let emojilistData = _emojilist ;
Original file line number Diff line number Diff line change @@ -684,7 +684,7 @@ export async function listSchedulePost() {
684684}
685685export async function selectDriveFile ( multiple : boolean ) : Promise < Misskey . entities . DriveFile [ ] > {
686686 return new Promise ( resolve => {
687- const { dispose } = popup ( defineAsyncComponent ( ( ) => import ( '@/components/MkDriveSelectDialog .vue' ) ) , {
687+ const { dispose } = popup ( defineAsyncComponent ( ( ) => import ( '@/components/MkDriveFileSelectDialog .vue' ) ) , {
688688 type : 'file' ,
689689 multiple,
690690 } , {
@@ -700,7 +700,7 @@ export async function selectDriveFile(multiple: boolean): Promise<Misskey.entiti
700700
701701export async function selectDriveFolder ( multiple : boolean ) : Promise < Misskey . entities . DriveFolder [ ] > {
702702 return new Promise ( resolve => {
703- const { dispose } = popup ( defineAsyncComponent ( ( ) => import ( '@/components/MkDriveSelectDialog .vue' ) ) , {
703+ const { dispose } = popup ( defineAsyncComponent ( ( ) => import ( '@/components/MkDriveFolderSelectDialog .vue' ) ) , {
704704 type : 'folder' ,
705705 multiple,
706706 } , {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import { misskeyApi } from '@/utility/misskey-api.js';
3232import { Paginator } from ' @/utility/paginator.js' ;
3333
3434const tab = ref (' all' );
35- const includeTypes = ref <string [] | null >(null );
35+ const includeTypes = ref <typeof notificationTypes [ number ] [] | null >(null );
3636const excludeTypes = computed (() => includeTypes .value ? notificationTypes .filter (t => ! includeTypes .value ! .includes (t )) : undefined );
3737
3838const mentionsPaginator = markRaw (new Paginator (' notes/mentions' , {
Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ const widgetPropsDef = {
3737 default: 300 ,
3838 },
3939 excludeTypes: {
40- type: ' array' ,
40+ type: ' array' as const ,
4141 hidden: true ,
42- default: [] as (typeof notificationTypes [number ])[],
42+ default : () => [] as (typeof notificationTypes [number ])[],
4343 },
4444} satisfies FormWithDefault ;
4545
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ onmessage = (event) => {
1818
1919 render ( event . data . hash , canvas ) ;
2020 const bitmap = canvas . transferToImageBitmap ( ) ;
21- self . postMessage ( { id : event . data . id , bitmap } , [ bitmap ] ) ;
21+ ( self as unknown as Worker ) . postMessage ( { id : event . data . id , bitmap } , [ bitmap ] ) ;
2222} ;
You can’t perform that action at this time.
0 commit comments