Skip to content

Commit

Permalink
docs(examples): decode-from-separate-data remove some eslint disable …
Browse files Browse the repository at this point in the history
…comments
  • Loading branch information
daniele-pelagatti committed Aug 6, 2024
1 parent 9f332c6 commit 16b3230
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/decode-from-separate-data.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/* eslint-disable @typescript-eslint/no-unsafe-argument */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
/* eslint-disable unused-imports/no-unused-vars */
import { decode } from '@monogrid/gainmap-js'
import { decode, GainMapMetadata } from '@monogrid/gainmap-js'
import {
Mesh,
MeshBasicMaterial,
Expand All @@ -22,7 +19,7 @@ const sdr = await textureLoader.loadAsync('sdr.jpg')
// load Gain map recovery image
const gainMap = await textureLoader.loadAsync('gainmap.jpg')
// load metadata
const metadata = await (await fetch('metadata.json')).json()
const metadata = await (await fetch('metadata.json')).json() as GainMapMetadata

const result = decode({
sdr,
Expand Down

0 comments on commit 16b3230

Please sign in to comment.