Skip to content

Commit

Permalink
chore: Fix ESLint warnings
Browse files Browse the repository at this point in the history
Ignore explicit any in near-bindgen
Remove unused import and export unused class
  • Loading branch information
petarvujovic98 committed Oct 10, 2022
1 parent 20a65f6 commit 7e0e909
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions examples/src/nested-collections.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { NearBindgen, near, call, view, UnorderedMap } from "near-sdk-js";
import { log } from "./log";

@NearBindgen({})
class Contract {
export class Contract {
outerMap: UnorderedMap<UnorderedMap<string>>;
groups: UnorderedMap<UnorderedMap<UnorderedMap<string>>>;

Expand Down
1 change: 1 addition & 0 deletions src/near-bindgen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export function NearBindgen(options: {
requireInit?: boolean;
serializer?(value: unknown): string;
deserializer?(value: string): unknown;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
}): any;
export function NearBindgen({
requireInit = false,
Expand Down

0 comments on commit 7e0e909

Please sign in to comment.