reinforced / Reinforced.Typings

Converts C# classes to TypeScript interfaces (and many more) within project build. 0-dependency, minimal, gluten-free
MIT License
507 stars 82 forks source link

The AddImports feature should allow you to select what quotes to use #269

Open ArmandBernard opened 1 year ago

ArmandBernard commented 1 year ago

Hello,

This is a minor one, but the AddImport method always generates imports with single quotes around the path e.g.

import { TimeSpan } from './TimeSpan.ts';

Many projects, including mine, require imports to use double quotes for consistency.

import { TimeSpan } from "./TimeSpan.ts";

While I could maybe exclude the rule for just these generated files, allowing the user to specify the use of single or double quotes would be nicer.

The relevant files seem to be: