bcherny/json-schema-to-typescript

Escape `/*` `*/` in comments

Open

#171 opened on Aug 14, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (449 forks)github user discovery
good first issuehelp wanted

Repository metrics

Stars
 (3,302 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

This is sometimes used in comments to refer to some Paths and make Prettier fail, resulting in a log message and an empty file. It would be very handy to be able to escape those.

ex: */foo becoming *\/foo

Contributor guide