Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8648707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:22:33+00:00 2026-06-12T13:22:33+00:00

Is it only possible to get intellisense in TypeScript files by referencing .ts files

  • 0

Is it only possible to get intellisense in TypeScript files by referencing .ts files with own coded interfaces?

Is there a solution for existing JavaScript libraries?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:22:34+00:00Added an answer on June 12, 2026 at 1:22 pm

    You are able to get IntelliSense for other TypeScript files by using an external script reference directive at the top of your script:

    ///<reference path="someOtherScript.ts" />
    

    As a side note, the TypeScript IntelliSense reference directive doesn’t support the tilde operator like the JavaScript reference directive does. For example, if your script is located in “~/Scripts/foo/”, in JavaScript you can reference:

    ///<reference path="~/Scripts/otherScriptFile.js" />
    

    whereas in TypeScript you have to reference relative to the current file:

    ///<reference path="../otherScriptFile.ts" />
    

    More info about this can be found in section 11.1.1 Source Files Dependencies of the TypeScript Spec.

    With regard to JavaScript IntelliSense in a TypeScript file, it currently appears to be not possible to get JavaScript reference IntelliSense.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is it possible to get the current max-value of a column, only knowing tableID
I just wonder if it is possible to only use CSS but not javascript
Possible Duplicate: Passing only two variables between controller and view - best practice? There
Possible Duplicate: Can Read-Only Properties be Implemented in Pure JavaScript? I have an Object
Is it possible to get resharper to list only the usable options for asp
It may be the case this is only possible through looping, but who knows.
I'm including JSON in an HTML tag, considering the only possible input characters for
Is it possible to only set the lower bound of a limit for continuous
Is it possible to only write a file in PHP if it doesn't exist?
Is it possible with only one bind to either keyup , keypress or keydown

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.