Skip to content

Commit 3b2a0cd

Browse files
committed
Allow any on exported types
1 parent 291d8a7 commit 3b2a0cd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/interfaces/IWidgetApiRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ export interface IWidgetApiRequest {
3333
data: IWidgetApiRequestData;
3434
// XXX: This is for Scalar support
3535
// TODO: Fix scalar
36+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
3637
visible?: any;
3738
}

src/models/validation/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1718
export function assertPresent<O extends Record<any, any>>(obj: O, key: keyof O): void {
1819
if (!obj[key]) {
1920
throw new Error(`${String(key)} is required`);

0 commit comments

Comments
 (0)