mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
Prettier: Ignore union type mismatch fix
Otherwise it puts the any in its new line which is a lot of wasted space and just looks weird
This commit is contained in:
parent
0f226bfa93
commit
0b8e480626
1 changed files with 2 additions and 3 deletions
|
@ -47,9 +47,8 @@ export function initDocs(app: express.Express) {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/docs/plugins/:pluginName", (req: express.Request, res: express.Response) => {
|
app.get("/docs/plugins/:pluginName", (req: express.Request, res: express.Response) => {
|
||||||
const plugin = docsPlugins.find(obj => getPluginName(obj) === req.params.pluginName) as ZeppelinPluginBlueprint<
|
// prettier-ignore
|
||||||
any
|
const plugin = docsPlugins.find(obj => getPluginName(obj) === req.params.pluginName) as ZeppelinPluginBlueprint<any>;
|
||||||
>;
|
|
||||||
if (!plugin) {
|
if (!plugin) {
|
||||||
return notFound(res);
|
return notFound(res);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue