enable canvas patching for nodejs

pull/356/head
Vladimir Mandic 2021-09-13 13:30:08 -04:00
parent 6dbe8fce42
commit ddf9239ccd
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,8 @@ export interface Env {
adapter: undefined | string,
},
kernels: string[],
Canvas: undefined,
Image: undefined,
}
export const env: Env = {
@ -54,6 +56,8 @@ export const env: Env = {
adapter: undefined,
},
kernels: [],
Canvas: undefined,
Image: undefined,
};
export function cpuinfo() {