Skip to content

Commit

Permalink
keep mutable method in interface
Browse files Browse the repository at this point in the history
  • Loading branch information
rawpixel-vincent committed Mar 4, 2024
1 parent 7a6cc20 commit 5eda88f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions StringLiteralList.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { sl } from './types.js';

interface ILiterals<T extends unknown = null> {
interface ILiterals<T extends unknown> {
literal: T;
}

export interface IStringList<T extends unknown>
extends Omit<
Array<T>,
| sl.specs.ImplementedMethod
| sl.specs.OmitedMutableMethod
| sl.specs.NativeMethodWithTypeOverride
>, ILiterals<T> {
// Custom Methods
Expand Down

0 comments on commit 5eda88f

Please sign in to comment.