Skip to content

Commit e2ee1d0

Browse files
committed
linter fix
1 parent c38aea7 commit e2ee1d0

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import './process-polyfill';
1+
import "./process-polyfill";
22
import { FileOrder } from "./fileOrder";
33

44
export default FileOrder;

src/process-polyfill.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
declare global {
2-
interface Window {
3-
process?: any;
4-
}
2+
interface Window {
3+
process?: any;
4+
}
55
}
66

77
// Simple process polyfill for Obsidian mobile
88
window.process = {
9-
env: {
10-
NODE_ENV: 'production'
11-
},
12-
// Add any other process properties your code might need
13-
platform: 'android', // or 'ios' depending on platform
14-
version: '',
15-
nextTick: (fn: Function) => setTimeout(fn, 0)
9+
env: {
10+
NODE_ENV: "production",
11+
},
12+
// Add any other process properties your code might need
13+
platform: "android", // or 'ios' depending on platform
14+
version: "",
15+
nextTick: (fn: Function) => setTimeout(fn, 0),
1616
};
1717

18-
export {};
18+
export {};

0 commit comments

Comments
 (0)