type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
FunctionDeclaration
function _internalAdminPouch( name: string, adapter: any, pouchSettingsFromRxDatabaseCreator: PouchSettings = {} ) { return _spawnPouchDB( name, adapter, '_admin', 0, { // no compaction because this only stores local documents auto_compaction: false, ...
404-not-find/rxdb
src/rx-database.ts
TypeScript
FunctionDeclaration
function _internalCollectionsPouch( name: string, adapter: any, pouchSettingsFromRxDatabaseCreator: PouchSettings = {} ) { return _spawnPouchDB( name, adapter, '_collections', 0, { // no compaction because this only stores local documents auto_com...
404-not-find/rxdb
src/rx-database.ts
TypeScript
FunctionDeclaration
/** * removes the database and all its known data */ export function removeDatabase( databaseName: string, adapter: any ): Promise<any> { const adminPouch = _internalAdminPouch(databaseName, adapter); const collectionsPouch = _internalCollectionsPouch(databaseName, adapter); return collectionsPou...
404-not-find/rxdb
src/rx-database.ts
TypeScript
FunctionDeclaration
/** * check is the given adapter can be used */ export function checkAdapter(adapter: any): Promise<boolean> { return overwritable.checkAdapter(adapter); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
FunctionDeclaration
export function isInstanceOf(obj: any) { return obj instanceof RxDatabaseBase; }
404-not-find/rxdb
src/rx-database.ts
TypeScript
FunctionDeclaration
export function dbCount(): number { return DB_COUNT; }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
cEvent => isInstanceOfRxChangeEvent(cEvent)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(docsRes: any) => { return Promise.all( docsRes.rows .map((row: any) => ({ _id: row.key, _rev: row.value.rev })) .map((doc: any) => colPouch.remove(doc._id...
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(row: any) => ({ _id: row.key, _rev: row.value.rev })
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(doc: any) => colPouch.remove(doc._id, doc._rev)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(doc: any) => this.lockedRun( () => (this._collectionsPouch as any).remove(doc) )
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => (this._collectionsPouch as any).remove(doc)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => (this._collectionsPouch as any).get(internalPrimary)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(collectionDoc: any) => { colDoc = collectionDoc; if (collectionDoc && collectionDoc.schemaHash !== schemaHash) { // collection already exists with different schema, check if it has documents const pouch = this._spawnPouchDB(args.name, args.schem...
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
oneDoc => { if (oneDoc.docs.length !== 0) { // we have one document throw newRxError('DB6', { name: args.name, previousSchemaHash: collectionDoc.schemaHash, ...
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => createRxCollection(args as any)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(collection: any) => { col = collection; if ( Object.keys(collection.schema.encryptedPaths).length > 0 && !this.password ) { throw newRxError('DB7', { name: args.name ...
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => (this._collectionsPouch as any).put({ _id: internalPrimary, schemaHash, schema: collection.schema.normalized, version: collection.schema.version })
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => { const cEvent = createChangeEvent( 'RxDatabase.collection', this as any, col ); cEvent.data.v = col.name; cEvent.data.col = '_collections'; (this.collections as any)[args....
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => (this.collections as any)[args.name]
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
knownVersions => knownVersions .map(v => this._spawnPouchDB(collectionName, v))
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
v => this._spawnPouchDB(collectionName, v)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
pouches => { return Promise.all( pouches.map( pouch => this.lockedRun( () => pouch.destroy() ) ) ); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
pouch => this.lockedRun( () => pouch.destroy() )
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => pouch.destroy()
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => (this.broadcastChannel as any).close()
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
sub => sub.unsubscribe()
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
key => (this.collections as any)[key]
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
col => col.destroy()
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => _removeUsedCombination(this.name, this.adapter)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => removeDatabase(this.name, this.adapter)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
ad => { if (ad === adapter) used = true; }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(pwHashDoc: any) => { /** * if pwHash was not saved, we save it, * this operation might throw because another instance runs save at the same time, * also we do not await the output because it does not mather */ if (!pwHashDoc) { ...
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => { throw newRxError('DB1', { passwordHash: hash(rxDatabase.password), existingPasswordHash: pwHashDoc.value }); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => { // no doc exists -> insert return (rxDatabase._adminPouch as any).put({ _id: '_local/storageToken', value: randomToken(10) }) .catch(() => { }) .then(() => promiseWait(0)); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => promiseWait(0)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => (rxDatabase._adminPouch as any).get('_local/storageToken')
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(storageTokenDoc2: any) => storageTokenDoc2.value
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => (rxDatabase._collectionsPouch as any).allDocs({ include_docs: true })
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(data: any) => { const relevantDocs = data.rows .map((row: any) => row.doc) .filter((doc: any) => { const name = doc._id.split('-')[0]; return name === collectionName; }); return Promise.all( relevantDocs .m...
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(row: any) => row.doc
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(doc: any) => { const name = doc._id.split('-')[0]; return name === collectionName; }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(doc: any) => rxDatabase.lockedRun( () => (rxDatabase._collectionsPouch as any).remove(doc) )
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => (rxDatabase._collectionsPouch as any).remove(doc)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => relevantDocs.map((doc: any) => doc.version)
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(doc: any) => doc.version
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
msg => { if (msg.st !== rxDatabase.storageToken) return; // not same storage-state if (msg.db === rxDatabase.token) return; // same db const changeEvent = changeEventfromJSON(msg.d); (rxDatabase.broadcastChannel$ as any).next(changeEvent); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
cE => { rxDatabase.$emit(cE); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => { // validate/insert password-hash return Promise.all([ _ensureStorageTokenExists(rxDatabase), _preparePasswordHash(rxDatabase) ]); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
([storageToken]) => { rxDatabase.storageToken = storageToken; if (rxDatabase.multiInstance) { _prepareBroadcastChannel(rxDatabase); } }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => { runPluginHooks('createRxDatabase', db); return db; }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
collectionsData => Promise.all( collectionsData.rows .map((colDoc: any) => colDoc.id) .map((id: string) => { const split = id.split('-'); const name = split[0]; const version = parseInt(split[1], 10); ...
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(colDoc: any) => colDoc.id
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
(id: string) => { const split = id.split('-'); const name = split[0]; const version = parseInt(split[1], 10); const pouch = _spawnPouchDB(databaseName, adapter, name, version); return pouch.destroy(); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
ArrowFunction
() => Promise.all([ collectionsPouch.destroy(), adminPouch.destroy() ])
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * removes all internal collection-info * only use this if you have to upgrade from a major rxdb-version * do NEVER use this to change the schema of a collection */ dangerousRemoveCollectionInfo(): Promise<void> { const colPouch: any = this._collectionsPouch; return colPouch.allDo...
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * spawns a new pouch-instance */ _spawnPouchDB( collectionName: string, schemaVersion: number, pouchSettings: PouchSettings = {} ): PouchDBInstance { return _spawnPouchDB( this.name, this.adapter, collectionName, schemaVersion, pouchS...
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * returns a promise which resolves when the instance becomes leader */ waitForLeadership(): Promise<boolean> { if (!this.multiInstance) return Promise.resolve(true); return this.leaderElector.waitForLeadership(); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * This is the main handle-point for all change events * ChangeEvents created by this instance go: * RxDocument -> RxCollection -> RxDatabase.$emit -> MultiInstance * ChangeEvents created by other instances go: * MultiInstance -> RxDatabase.$emit -> RxCollection -> RxDatabase */ $emit(c...
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * removes the collection-doc from this._collectionsPouch */ removeCollectionDoc(name: string, schema: any): Promise<void> { const docId = _collectionNamePrimary(name, schema); return (this._collectionsPouch as any) .get(docId) .then((doc: any) => this.lockedRun( ...
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * create or fetch a collection */ collection< RxDocumentType = any, OrmMethods = {}, StaticMethods = { [key: string]: any } >(args: RxCollectionCreator): Promise< RxCollection< RxDocumentType, OrmMethods, StaticMethods > >...
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * delete all data of the collection and its previous versions */ removeCollection(collectionName: string): Promise<void> { if ((this.collections as any)[collectionName]) (this.collections as any)[collectionName].destroy(); // remove schemas from internal db return _rem...
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * runs the given function between idleQueue-locking */ lockedRun<T>(fn: (...args: any[]) => T): T extends Promise<any> ? T : Promise<T> { return this.idleQueue.wrapCall(fn) as any; }
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
requestIdlePromise() { return this.idleQueue.requestIdlePromise(); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * Export database to a JSON friendly format. * @param _decrypted * When true, all encrypted values will be decrypted. */ dump(_decrypted: boolean, _collections?: string[]): Promise<RxDumpDatabase<Collections>>;
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
dump(_decrypted?: false, _collections?: string[]): Promise<RxDumpDatabaseAny<Collections>>;
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
dump(_decrypted: boolean = false, _collections?: string[]): Promise<any> { throw pluginMissing('json-dump'); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * Import the parsed JSON export into the collection. * @param _exportedJSON The previously exported data from the `<db>.dump()` method. * @note When an interface is loaded in this collection all base properties of the type are typed as `any` * since data could be encrypted. */ importDump(_e...
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * spawn server */ server(_options?: ServerOptions): { app: any; pouchApp: any; server: any; } { throw pluginMissing('server'); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * destroys the database-instance and all collections */ public destroy(): Promise<boolean> { if (this.destroyed) return Promise.resolve(false); runPluginHooks('preDestroyRxDatabase', this); DB_COUNT--; this.destroyed = true; if (this.broadcastChannel) { ...
404-not-find/rxdb
src/rx-database.ts
TypeScript
MethodDeclaration
/** * deletes the database and its stored data */ remove(): Promise<void> { return this .destroy() .then(() => removeDatabase(this.name, this.adapter)); }
404-not-find/rxdb
src/rx-database.ts
TypeScript
TypeAliasDeclaration
/* -------------------------------------------- */ /* Definindo um conjunto de types com optional operator /* -------------------------------------------- */ type AccountInfo = { id: number; name: string; email?: string; // ? optional operator }
rwietter/codebase
typescript/src/basics/advanced/advancedTypes.ts
TypeScript
TypeAliasDeclaration
/* -------------------------------------------- */ /* Definindo um outro conjunto de types /* -------------------------------------------- */ type CharInfo = { nickname: string; level?: number; }
rwietter/codebase
typescript/src/basics/advanced/advancedTypes.ts
TypeScript
TypeAliasDeclaration
/* -------------------------------------------- */ /* Fazendo a intersecção de dois types /* -------------------------------------------- */ type PlayerInfo = AccountInfo & CharInfo
rwietter/codebase
typescript/src/basics/advanced/advancedTypes.ts
TypeScript
ClassDeclaration
export class LearnplaceNavParams { static learnplaceObjectId: number; static learnplaceName: string; }
ZWHD/ILIAS-Pegasus
src/app/learnplace/pages/learnplace-tabs/learnplace.nav-params.ts
TypeScript
ClassDeclaration
export class UserListaFilmesController { constructor( @repository(UserRepository) protected userRepository: UserRepository, ) { } @get('/users/{id}/lista-filmes', { responses: { '200': { description: 'User has one ListaFilmes', content: { 'application/json': { ...
inf21-dw2-g01/inf21-dw2-g01
DW2/lb4-filmes/src/controllers/user-lista-filmes.controller.ts
TypeScript
MethodDeclaration
@get('/users/{id}/lista-filmes', { responses: { '200': { description: 'User has one ListaFilmes', content: { 'application/json': { schema: getModelSchemaRef(ListaFilmes), }, }, }, }, }) async get( @param.path.number('id') id: number, ...
inf21-dw2-g01/inf21-dw2-g01
DW2/lb4-filmes/src/controllers/user-lista-filmes.controller.ts
TypeScript
MethodDeclaration
@post('/users/{id}/lista-filmes', { responses: { '200': { description: 'User model instance', content: {'application/json': {schema: getModelSchemaRef(ListaFilmes)}}, }, }, }) async create( @param.path.number('id') id: typeof User.prototype.id, @requestBody({ conte...
inf21-dw2-g01/inf21-dw2-g01
DW2/lb4-filmes/src/controllers/user-lista-filmes.controller.ts
TypeScript
MethodDeclaration
@patch('/users/{id}/lista-filmes', { responses: { '200': { description: 'User.ListaFilmes PATCH success count', content: {'application/json': {schema: CountSchema}}, }, }, }) async patch( @param.path.number('id') id: number, @requestBody({ content: { 'appli...
inf21-dw2-g01/inf21-dw2-g01
DW2/lb4-filmes/src/controllers/user-lista-filmes.controller.ts
TypeScript
MethodDeclaration
@del('/users/{id}/lista-filmes', { responses: { '200': { description: 'User.ListaFilmes DELETE success count', content: {'application/json': {schema: CountSchema}}, }, }, }) async delete( @param.path.number('id') id: number, @param.query.object('where', getWhereSchemaFor...
inf21-dw2-g01/inf21-dw2-g01
DW2/lb4-filmes/src/controllers/user-lista-filmes.controller.ts
TypeScript
ClassDeclaration
@NgModule({ imports: [ CommonModule, ConfigModule.withConfig(<ViewConfig>defaultScrollConfig), ConfigModule.withConfig(<CmsConfig>{ cmsComponents: { CMSProductListComponent: { component: ProductListComponent, }, ProductGridComponent: { component: ProductL...
bja1011/cloud-commerce-spartacus-storefront
projects/storefrontlib/src/cms-components/product/product-list/product-list.module.ts
TypeScript
ArrowFunction
(config: d.Config, stencilSys: d.CompilerSystem, inMemoryFs: d.InMemoryFileSystem, tsSys: ts.System) => { const realpath = (path: string) => { const rp = stencilSys.realpathSync(path); if (isString(rp)) { return rp; } return path; }; const getAccessibleFileSystemEntries = (path: string) =>...
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
(path: string) => { const rp = stencilSys.realpathSync(path); if (isString(rp)) { return rp; } return path; }
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
(path: string) => { try { const entries = stencilSys.readDirSync(path || '.').sort(); const files: string[] = []; const directories: string[] = []; for (const absPath of entries) { // This is necessary because on some file system node fails to exclude // "." and "..". See h...
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
p => { stencilSys.createDirSync(p, { recursive: true }); }
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
p => { const s = inMemoryFs.statSync(p); return s.isDirectory; }
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
p => { let filePath = p; if (isRemoteUrl(p)) { filePath = getTypescriptPathFromUrl(config, tsSys.getExecutingFilePath(), p); } const s = inMemoryFs.statSync(filePath); return !!(s && s.isFile); }
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
p => { const items = stencilSys.readDirSync(p); return items.filter(itemPath => { const s = inMemoryFs.statSync(itemPath); return !!(s && s.exists && s.isDirectory); }); }
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
itemPath => { const s = inMemoryFs.statSync(itemPath); return !!(s && s.exists && s.isDirectory); }
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
(path, extensions, exclude, include, depth) => { const cwd = stencilSys.getCurrentDirectory(); return (ts as any).matchFiles(path, extensions, exclude, include, IS_CASE_SENSITIVE_FILE_NAMES, cwd, depth, getAccessibleFileSystemEntries, realpath); }
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
p => { let filePath = p; const isUrl = isRemoteUrl(p); if (isUrl) { filePath = getTypescriptPathFromUrl(config, tsSys.getExecutingFilePath(), p); } let content = inMemoryFs.readFileSync(filePath, { useCache: isUrl }); if (typeof content !== 'string' && isUrl) { if (IS_WEB_WORKER_...
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
(p, data) => inMemoryFs.writeFile(p, data)
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
(stencilSys: d.CompilerSystem, tsSys: ts.System) => { tsSys.watchDirectory = (p, cb, recursive) => { const watcher = stencilSys.watchDirectory( p, filePath => { cb(filePath); }, recursive, ); return { close() { watcher.close(); }, }; }; tsSys.w...
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
(p, cb, recursive) => { const watcher = stencilSys.watchDirectory( p, filePath => { cb(filePath); }, recursive, ); return { close() { watcher.close(); }, }; }
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
filePath => { cb(filePath); }
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
(p, cb) => { const watcher = stencilSys.watchFile(p, (filePath, eventKind) => { if (eventKind === 'fileAdd') { cb(filePath, ts.FileWatcherEventKind.Created); } else if (eventKind === 'fileUpdate') { cb(filePath, ts.FileWatcherEventKind.Changed); } else if (eventKind === 'fileDelet...
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
(filePath, eventKind) => { if (eventKind === 'fileAdd') { cb(filePath, ts.FileWatcherEventKind.Created); } else if (eventKind === 'fileUpdate') { cb(filePath, ts.FileWatcherEventKind.Changed); } else if (eventKind === 'fileDelete') { cb(filePath, ts.FileWatcherEventKind.Delete...
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
(config: d.Config, inMemoryFs: d.InMemoryFileSystem) => { if (!(ts as any).__patched) { if (config.sys) { patchTsSystemFileSystem(config, config.sys, inMemoryFs, ts.sys); patchTsSystemWatch(config.sys, ts.sys); } patchTypeScriptResolveModule(config, inMemoryFs); patchTypeScriptGetParsedCo...
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
() => { if (!ts.sys) { // patches just the bare minimum // if ts.sys already exists then it must be node ts.sys // otherwise we're either browser or deno // will be updated later on with the stencil sys ts.sys = { args: [], createDirectory: noop, directoryExists: () => false, ...
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript
ArrowFunction
() => './'
SheepFromHeaven/stencil
src/compiler/sys/typescript/typescript-sys.ts
TypeScript