Base solution for your next web application
Open Closed

abp.d.ts - Build issues #2112


User avatar
0
brallierc created

I upgraded to the latest version of ABP through nuget and this file seems to have several issues, it has an error with everything listed below:

interface IAbpSession {

    readonly userId?: number;

    readonly tenantId?: number;

    readonly impersonatorUserId?: number;

    readonly impersonatorTenantId?: number;

    readonly multiTenancySide: multiTenancy.sides;

}

let session: IAbpSession;

4 Answer(s)
  • User Avatar
    0
    brallierc created

    Solved by updating TypeScript to the latest version. I had version 1.8.x and now I have 2.1.4

  • User Avatar
    0
    hozkar created

    Thank you very much for the information! I was having the same problem.

  • User Avatar
    0
    riaan created

    Hi,

    I don't get any build errors but I do get the red squiggly lines when viewing the abp.d.ts file.

    [attachment=0:3mmh5obq]abp.d.ts.png[/attachment:3mmh5obq]

    I have updated to TypeScript (2.1.4) for Visual Studio 2015 [https://www.microsoft.com/en-us/download/details.aspx?id=48593], but still the red lines appear.

    Any ideas on how to get rid of them, or should I just ignore them in my solution?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Do you use any extension for your visual studio like resharper ?