@7h3laughingman/foundry-helpers 13.351.3 → 13.351.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type PlaceableObjectMap = {
|
|
2
|
+
AmbientLight: typeof foundry.canvas.placeables.AmbientLight;
|
|
3
|
+
AmbientSound: typeof foundry.canvas.placeables.AmbientSound;
|
|
4
|
+
Drawing: typeof foundry.canvas.placeables.Drawing;
|
|
5
|
+
MeasuredTemplate: typeof foundry.canvas.placeables.MeasuredTemplate;
|
|
6
|
+
Note: typeof foundry.canvas.placeables.Note;
|
|
7
|
+
Region: typeof foundry.canvas.placeables.Region;
|
|
8
|
+
Tile: typeof foundry.canvas.placeables.Tile;
|
|
9
|
+
Token: typeof foundry.canvas.placeables.Token;
|
|
10
|
+
Wall: typeof foundry.canvas.placeables.Wall;
|
|
11
|
+
};
|
|
12
|
+
export declare function isPlaceableObject<K extends keyof PlaceableObjectMap>(value: unknown, type: K): value is PlaceableObjectMap[K];
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isDocumentType<K extends keyof DocumentTypeMap>(value: unknown, name: K): value is DocumentTypeMap[K];
|
package/dist/utilities/index.js
CHANGED
package/package.json
CHANGED