mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
@ -1,3 +0,0 @@
|
||||
const isTesting = () => process.env.NODE_ENV === 'test';
|
||||
|
||||
module.exports = { isTesting };
|
||||
3
utils/testing.ts
Normal file
3
utils/testing.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export const isTesting = () => process.env.NODE_ENV === 'test';
|
||||
|
||||
export default { isTesting };
|
||||
5
utils/type-utils.ts
Normal file
5
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