镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

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:

No activity

Activity on this issue will appear here.

Activity

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