Files
test-repo/tests/format/flow/as-satisfies-expression/assignment.js
T

22 lines
482 B
JavaScript

// @flow
const TYPE_MAP = {
'character device': 'special',
'character special file': 'special',
directory: 'directory',
'regular file': 'file',
socket: 'socket',
'symbolic link': 'link',
} as Foo;
this.previewPlayerHandle = (setInterval(async () => {
if (this.previewIsPlaying) {
await this.fetchNextPreviews();
this.currentPreviewIndex++;
}
}, this.refreshDelay) as any);
this.intervalID = (setInterval(() => {
self.step();
}, 30) as any);