Files
cocos4/tsconfig.json
T
PP d7067c29c8 deprecate interface in View module && support pal/screenManager (#8836)
* remove BrowserGetter

* deprecated view.adjustViewportMeta

* deprecate view.enableAutoFullScreen and view.isAutoFullScreenEnabled

* remove view._adjustSizeKeepCanvasSize

* remove view._convertMouseToLocation, view._convertTouchWidthScale and view._convertTouchesWithScale

* remove view._originalDesignResolutionSize

* deprecate cc.winSize and cc.visibleRect

update

* access local winSize

* access local visibleRect

* deprecate view.getVisibleOrigin view.getVisibleOriginInPixel

* Revert "deprecate view.getVisibleOrigin view.getVisibleOriginInPixel"

This reverts commit 1ae9e1d5c51d8c701eaa2e4a65cd4c17e5f6d971.

* Revert "deprecate cc.visibleRect"

* optimize screen module

update

* update

update

* optimize deprecation info

* rename pal/system to pal/systemInfo

* update pal/systemInfo access in engine layer

* support pal/screenManager

* update pal/screenManager access in engine layer

* fix bug

* optimize deprecation info

* fix auto fullscreen

* fix ci

* fix ci

* update change request

update

update

* fix CI
2021-07-09 18:57:03 +08:00

48 lines
1.2 KiB
JSON

{
"compilerOptions": {
"target": "es6",
"lib": ["es2015", "es2017", "dom"],
"module": "commonjs",
"sourceMap": true,
"outDir": "./bin/.ts",
"rootDir": "./",
"noEmit": true,
"strict": true,
"noImplicitAny": false,
"downlevelIteration": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"isolatedModules": true,
"baseUrl": "./",
"paths": {
"cc.decorator": [
"cocos/core/data/decorators/index.ts"
]
},
"types": [
"./@types/globals",
"./@types/consts",
"./@types/jsb",
"./@types/editor-extends",
"./@types/webGL.extras",
"./@types/webGL2.extras",
"./node_modules/@cocos/cannon/CANNON",
"./node_modules/@cocos/ammo/Ammo",
"./node_modules/@cocos/physx/PhysX",
"./node_modules/@types/jest/index",
// pal
"./@types/pal/system-info",
"./@types/pal/screen-adapter",
"./@types/pal/minigame",
"./@types/pal/audio",
"./@types/pal/input"
]
},
"include": [
"exports/**/*.ts",
"index.ts",
"pal/**/*.ts"
]
}