• Check if the given file path is a TS declaration file.

    Parameters

    • filepath: string

      Path to check.

    Returns boolean

    Returns if the given path is a TS declaration file.