@tinymce/moxiedoc
Advanced tools
Comparing version 0.2.0-feature.20220218063928938.shab8e228c to 0.2.0-feature.20220218064439220.shaf70ec27
@@ -216,3 +216,3 @@ "use strict"; | ||
tmp += '\n[[' + event.name + ']]\n'; | ||
tmp += '=== ' + event.name + '()\n'; | ||
tmp += '=== ' + event.name + '\n'; | ||
tmp += cleanup(event.desc) + '\n'; | ||
@@ -219,0 +219,0 @@ if (hasValue(event.params)) { |
@@ -204,3 +204,3 @@ "use strict"; | ||
const getSyntaxString = (memberData) => { | ||
const params = memberData.params.map((param) => param.name + ': ' + param.types[0]).join(', '); | ||
const params = memberData.params.map((param) => param.name + ': ' + param.types.join(' | ')).join(', '); | ||
const returnType = memberData.return ? (': ' + memberData.return.types.join(' | ')) : ''; | ||
@@ -207,0 +207,0 @@ switch (memberData.type) { |
{ | ||
"name": "@tinymce/moxiedoc", | ||
"version": "0.2.0-feature.20220218063928938.shab8e228c", | ||
"version": "0.2.0-feature.20220218064439220.shaf70ec27", | ||
"description": "A tool for generating API documentation", | ||
@@ -5,0 +5,0 @@ "author": "Tiny Technologies, Inc", |
@@ -271,3 +271,3 @@ import { Return } from '../../lib/member'; | ||
tmp += '\n[[' + event.name + ']]\n'; | ||
tmp += '=== ' + event.name + '()\n'; | ||
tmp += '=== ' + event.name + '\n'; | ||
tmp += cleanup(event.desc) + '\n'; | ||
@@ -274,0 +274,0 @@ |
@@ -240,3 +240,3 @@ import * as fs from 'fs'; | ||
const getSyntaxString = (memberData: Record<string, any>) => { | ||
const params = memberData.params.map((param) => param.name + ': ' + param.types[0]).join(', '); | ||
const params = memberData.params.map((param) => param.name + ': ' + param.types.join(' | ')).join(', '); | ||
const returnType = memberData.return ? (': ' + memberData.return.types.join(' | ')) : ''; | ||
@@ -243,0 +243,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
343068