fix: tern linter+completion entries for new env apis

This commit is contained in:
Andrew Bastin
2022-02-19 13:21:23 +05:30
parent f4a126d31a
commit 774c51ef95
2 changed files with 10 additions and 1 deletions

View File

@@ -2,7 +2,10 @@
"!name": "pw-pre",
"pw": {
"env": {
"set": "fn(key: string, value: string)"
"set": "fn(key: string, value: string)",
"get": "fn(key: string) -> string",
"getResolve": "fn(key: string) -> string",
"resolve": "fn(value: string) -> string"
}
}
}

View File

@@ -19,6 +19,12 @@
"headers": "?",
"body": "?"
},
"env": {
"set": "fn(key: string, value: string)",
"get": "fn(key: string) -> string",
"getResolve": "fn(key: string) -> string",
"resolve": "fn(value: string) -> string"
},
"test": "fn(name: string, func: fn())"
}
}