diff options
Diffstat (limited to 'src/data/composite/wiki-properties/externalFunction.js')
-rw-r--r-- | src/data/composite/wiki-properties/externalFunction.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/data/composite/wiki-properties/externalFunction.js b/src/data/composite/wiki-properties/externalFunction.js new file mode 100644 index 00000000..c388da6c --- /dev/null +++ b/src/data/composite/wiki-properties/externalFunction.js @@ -0,0 +1,11 @@ +// External function. These should only be used as dependencies for other +// properties, so they're left unexposed. + +// TODO: Not templateCompositeFrom. + +export default function() { + return { + flags: {update: true}, + update: {validate: (t) => typeof t === 'function'}, + }; +} |