added jsdoc and SteamClient global declaration

This commit is contained in:
Tormak
2022-10-17 08:39:37 -04:00
parent d8b10a2133
commit ce3860f73b
2 changed files with 10 additions and 1 deletions

View File

@@ -195,8 +195,11 @@ export interface SteamShortcut {
};
}
/**
* @prop unAppID is not properly set by Steam for non-steam game shortcuts, so it defaults to 0 for them
*/
export interface LifetimeNotification {
unAppID: number; // seems to be 0 for shortcuts :/
unAppID: number;
nInstanceID: number;
bRunning: boolean;
}

View File

@@ -22,3 +22,9 @@ export * from './TextField';
export * from './Toggle';
export * from './ToggleField';
export * from './SteamClient';
import {SteamClient} from './SteamClient'
declare global {
var SteamClient: SteamClient;
}