当使用isDevMode()在JIT构建中正常工作时,AOT声明失败
Error: Error encountered resolving symbol values statically. Calling function 'isDevMode', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function
尝试创建这样的导出功能,但没有运气
export function isDevModeEnabled() {
return isDevMode();
}