Skip to content

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

Closed
@mhegazy

Description

@mhegazy

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:

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: 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