mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 14:13:08 +00:00
8ee26adbbe
Change-type: patch Signed-off-by: Cameron Diver <cameron@resin.io>
12 lines
341 B
TypeScript
12 lines
341 B
TypeScript
declare module 'json-mask' {
|
|
|
|
function mask(obj: Dictionary<any>, mask: string): Dictionary<any>;
|
|
|
|
// These types are not strictly correct, but they don't need to be for our usage
|
|
namespace mask {
|
|
export const compile: (mask: string) => any;
|
|
export const filter: (obj: Dictionary<any>, compiledMask: any) => any;
|
|
}
|
|
|
|
export = mask;
|
|
} |