• Removes the file extension from an import name, if it ends with '.ts'.

    Parameters

    • imp: string

      The import name to process.

    Returns string

    The import name without the '.ts' extension.