Brought to you by Allons-y Studio

Function: filterPathsByExtension()

function filterPathsByExtension(paths, extensions): string[];

Defined in: paths.ts:17

Filter CLI path arguments to those a detector should handle, given the file extensions it owns.

Extensions are compared case-insensitively and must include the leading dot (e.g. ".ts").

Parameters

Parameter Type
paths string[]
extensions ReadonlySet<string>

Returns

string[]