fix: electron main and renderer process detection #761
Annotations
9 errors
src/lib/is-browser.ts#L2
Replace `··` with `↹`
|
src/lib/is-browser.ts#L2
ES2015 module syntax is preferred over namespaces
|
src/lib/is-browser.ts#L3
Replace `····` with `↹↹`
|
src/lib/is-browser.ts#L4
Replace `··readonly·electron:·string;` with `↹readonly·electron:·string`
|
src/lib/is-browser.ts#L5
Replace `··readonly·type:·('browser'·|·'renderer'·|·'worker'·|·'utility');` with `↹readonly·type:·'browser'·|·'renderer'·|·'worker'·|·'utility'`
|
src/lib/is-browser.ts#L6
Replace `····` with `↹↹`
|
src/lib/is-browser.ts#L7
Replace `··` with `↹`
|
src/lib/is-browser.ts#L15
Unnecessary 'else' after 'return'
|
|
This job failed
Loading