Steps to reproduce
function createSlice<T>(o: T) {
return o
}
export const platformSlice = createSlice({
"query": {
"search" : "",
"user": ""
},
});
Playground Link
Behavior with typescript@6.0
All quotes around properties are stripped
export declare const platformSlice: {
query: {
search: string;
user: string;
};
};
Behavior with tsgo
Properties one level deep have quotes preserved.
export declare const platformSlice: {
query: {
"search": string;
"user": string;
};
};
Steps to reproduce
Playground Link
Behavior with
typescript@6.0All quotes around properties are stripped
Behavior with
tsgoProperties one level deep have quotes preserved.