chore(type): remove unnecessary type assertion (#4150)
This commit is contained in:
parent
3ff94faca1
commit
457c9aed1f
@ -186,7 +186,7 @@ export function doCompileStyle(
|
|||||||
return result
|
return result
|
||||||
.then(result => ({
|
.then(result => ({
|
||||||
code: result.css || '',
|
code: result.css || '',
|
||||||
map: result.map && (result.map.toJSON() as any),
|
map: result.map && result.map.toJSON(),
|
||||||
errors,
|
errors,
|
||||||
modules: cssModules,
|
modules: cssModules,
|
||||||
rawResult: result,
|
rawResult: result,
|
||||||
@ -211,7 +211,7 @@ export function doCompileStyle(
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
code: code || ``,
|
code: code || ``,
|
||||||
map: outMap && (outMap.toJSON() as any),
|
map: outMap && outMap.toJSON(),
|
||||||
errors,
|
errors,
|
||||||
rawResult: result,
|
rawResult: result,
|
||||||
dependencies
|
dependencies
|
||||||
|
Loading…
Reference in New Issue
Block a user