MCPcopy Create free account
hub / github.com/subquery/subql / extensionIsTs

Function extensionIsTs

packages/common/src/project/utils.ts:210–212  ·  view source on GitHub ↗
(ext: string)

Source from the content-addressed store, hash-verified

208}
209
210export function extensionIsTs(ext: string): boolean {
211 return ext === '.ts';
212}
213
214export function extensionIsYamlOrJSON(ext: string): boolean {
215 return ext === '.yaml' || ext === '.yml' || ext === '.json';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected