Skip to content

Commit

Permalink
Lint fixes for latest types
Browse files Browse the repository at this point in the history
  • Loading branch information
thgreasi committed Jul 18, 2024
1 parent 116b579 commit 6ff059f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/util/global-env.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { SdkOptions } from '..';

// If we can't guarantee global state, don't fake it: fail instead.
let globalEnv: (typeof window | typeof self | typeof global) & {
let globalEnv: typeof global & {
BALENA_SDK_SHARED_OPTIONS?: SdkOptions;
BALENA_SDK_HAS_USED_SHARED_OPTIONS?: boolean;
BALENA_SDK_HAS_SET_SHARED_OPTIONS?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export function mergePineOptions<R extends object>(
Array.isArray(extras.$select) ||
extras.$select === '*'
? // TS should be able to infer this
(extras.$select as Array<Pine.SelectableProps<R>> | '*' | undefined)
(extras.$select as '*')
: [extras.$select];

if (replace$selects) {
Expand Down

0 comments on commit 6ff059f

Please sign in to comment.