Skip to content

Commit

Permalink
Fix some default values
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeAbby committed Jan 1, 2024
1 parent 0ca944d commit 9e9e263
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/foundry/client/apps/forms/user-config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ declare global {
width: DocumentSheetOptions["width"];

/**
* @defaultValue `auto`
* @defaultValue `"auto"`
*/
height: DocumentSheetOptions["height"];
}
Expand Down
2 changes: 1 addition & 1 deletion src/foundry/client/apps/placeables/token-hud.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ declare global {
{
overlay,
}?: {
/** @defaultValue `@false` */
/** @defaultValue `false` */
overlay?: boolean;
},
): Promise<boolean>;
Expand Down
4 changes: 2 additions & 2 deletions src/foundry/client/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@ declare global {
/** @defaultValue `AmbientLightDocument` */
objectClass: ConfiguredObjectClassOrDefault<typeof AmbientLight>;

/** @defaultValue `AmbientLightDocument` */
/** @defaultValue `LightingLayer` */
layerClass: typeof LightingLayer;
};

Expand Down Expand Up @@ -1637,7 +1637,7 @@ declare global {
*/
WebRTC: {
/** @defaultValue `SimplePeerAVClient` */
clientClass: PropertyTypeOrFallback<WebRTCConfig, "clientClass", typeof AVClient>;
clientClass: PropertyTypeOrFallback<WebRTCConfig, "clientClass", typeof SimplePeerAVClient>;

/** @defaultValue `50` */
detectPeerVolumeInterval: number;
Expand Down
2 changes: 1 addition & 1 deletion src/foundry/client/dice/dice/coin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ declare class Coin extends DiceTerm {
faces: 2;

/**
* @defaultValue `c`
* @defaultValue `"c"`
*/
static DENOMINATION: string;

Expand Down
2 changes: 1 addition & 1 deletion src/foundry/client/pixi/layers/controls/ruler.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ declare global {

/**
* The ruler name - used to differentiate between players
* @defaultValue `Ruler.${user.id}`
* @defaultValue `"Ruler." + user.id`
*/
name: string;

Expand Down
2 changes: 1 addition & 1 deletion src/foundry/client/ui/context.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ declare namespace ContextMenu {
interface ConstructorOptions {
/**
* The name of the hook to call
* @defaultValue `EntryContext`
* @defaultValue `"EntryContext"`
*/
hookName?: string;

Expand Down
4 changes: 2 additions & 2 deletions src/foundry/common/data/data.mjs/noteData.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ interface NoteDataProperties {

/**
* The string that defines the color with which the note text is rendered
* @defaultValue `#FFFFFF`
* @defaultValue `"#FFFFFF"`
*/
textColor: string | null;

Expand Down Expand Up @@ -196,7 +196,7 @@ interface NoteDataConstructorData {

/**
* The string that defines the color with which the note text is rendered
* @defaultValue `#FFFFFF`
* @defaultValue `"#FFFFFF"`
*/
textColor?: string | null | undefined;

Expand Down
4 changes: 2 additions & 2 deletions src/foundry/common/data/data.mjs/sceneData.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ interface SceneDataConstructorData {

/**
* The color of the canvas which is displayed behind the scene background
* @defaultValue `#999999`
* @defaultValue `"#999999"`
*/
backgroundColor?: string | null | undefined;

Expand Down Expand Up @@ -471,7 +471,7 @@ interface SceneDataConstructorData {

/**
* A string representing the color used to render the grid lines
* @defaultValue `#000000`
* @defaultValue `"#000000"`
*/
gridColor?: string | null | undefined;

Expand Down

0 comments on commit 9e9e263

Please sign in to comment.