Skip to content

No completions for .json files with --resolveJsonModule #23899

Closed

Description

TypeScript Version: 2.9.0-dev.201xxxxx

Search Terms:

Code
With #22167 in, add --resolveJsonModule to your tscofig.json, and add a new test.json file.
Request completions:

import { } from "./|"; // request completions here

Expected behavior:
./test.json shows in completion list.

Actual behavior:
./test.json does not show.

Playground Link:

Related Issues:

Activity

  1. mhegazy commented on May 4, 2018

    @mhegazy
    ContributorAuthor

    same applies for var x: typeof import("./test.json");

  2. added a commit that references this issue on May 5, 2018
    e8cd6b1
  3. added a commit that references this issue on May 10, 2018
    b4de840
  4. locked and limited conversation to collaborators on Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScriptDomain: LS: Completion ListsThe issue relates to showing completion lists in an editorFixedA PR has been merged for this issue

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions