mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 03:11:46 +00:00
QOL: Move source code under the src directory. (#1318)
This commit is contained in:
3
src/utils/testing.ts
Normal file
3
src/utils/testing.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export const isTesting = () => process.env.NODE_ENV === 'test';
|
||||
|
||||
export default { isTesting };
|
||||
5
src/utils/type-utils.ts
Normal file
5
src/utils/type-utils.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export type Entries<T> = {
|
||||
[K in keyof T]: [K, T[K]];
|
||||
}[keyof T][];
|
||||
|
||||
export type ValueOf<T> = T[keyof T];
|
||||
Reference in New Issue
Block a user