Skip to content

Commit 7ae0189

Browse files
committed
fix/1292: remove unnecessary changes
1 parent 6467ed2 commit 7ae0189

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

source/kebab-case.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const someVariableNoSplitOnNumbers: KebabCase<'p2pNetwork', {splitOnNumbers: fal
1818
const someVariableWithPunctuation: KebabCase<'div.card::after', {splitOnPunctuation: true}> = 'div-card-after';
1919
2020
// Advanced
21+
2122
type KebabCasedProperties<T> = {
2223
[K in keyof T as KebabCase<K>]: T[K]
2324
};

source/pascal-case.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ type _PascalCase<Value, Options extends Required<CamelCaseOptions>> = CamelCase<
4949
? Capitalize<CamelCase<Value, Options>>
5050
: CamelCase<Value, Options>;
5151

52-
export { };
52+
export {};
5353

source/words.d.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,7 @@ type Words8 = Words<'hello:world', {splitOnPunctuation: true}>;
104104
@category Change case
105105
@category Template literal
106106
*/
107-
export type Words<
108-
Sentence extends string,
109-
Options extends WordsOptions = {},
110-
> = WordsImplementation<
111-
Sentence,
112-
ApplyDefaultOptions<WordsOptions, _DefaultWordsOptions, Options>
113-
>;
107+
export type Words<Sentence extends string, Options extends WordsOptions = {}> = WordsImplementation<Sentence, ApplyDefaultOptions<WordsOptions, _DefaultWordsOptions, Options>>;
114108

115109
type WordsImplementation<
116110
Sentence extends string,

test-d/internal/has-multiple-call-signatures.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type Overloaded = {
88

99
type Overloaded2 = {
1010
(foo: number | undefined): string;
11-
11+
// eslint-disable-next-line @typescript-eslint/unified-signatures
1212
(foo: number): string;
1313
};
1414

0 commit comments

Comments
 (0)