mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor: replace var usage with let/const (#7064)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { knownFolders } from "../file-system"
|
||||
import { isAndroid } from "../platform"
|
||||
|
||||
export var debug = true;
|
||||
export let debug = true;
|
||||
|
||||
var applicationRootPath: string;
|
||||
let applicationRootPath: string;
|
||||
function ensureAppRootPath() {
|
||||
if (!applicationRootPath) {
|
||||
applicationRootPath = knownFolders.currentApp().path;
|
||||
|
||||
Reference in New Issue
Block a user