From a738531091067af661936db1430c49895fae8143 Mon Sep 17 00:00:00 2001 From: jade <101148768+jadeddelta@users.noreply.github.com> Date: Sat, 30 Nov 2024 18:01:45 -0500 Subject: [PATCH] remove multiple parametertype documentation --- docs/developers/plugin-development.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/docs/developers/plugin-development.md b/docs/developers/plugin-development.md index caaa9745f7..15cb26fc63 100644 --- a/docs/developers/plugin-development.md +++ b/docs/developers/plugin-development.md @@ -250,23 +250,6 @@ const info = { } ``` -For more complicated scenarios, typically when handling data generated from an arbitrary function or user input, where we have a general idea of what data type it could produce, we may also specify multiple types of data. As an example, if we know we'll get either some number (integer or float) or a string from a field, we can specify it as such: - -```js -const info = { - // ... - data: { - /** The response given by the user. */ - response: { - type: - ParameterType.INT | - ParameterType.FLOAT | - ParameterType.STRING - } - } -} -``` - ## Plugin functionality Inside the `.trial()` method you can do pretty much anything that you want, including modifying the DOM, setting up event listeners, and making asynchronous requests. In this section we'll highlight a few common things that you might want to do as examples.