File tree 1 file changed +6
-2
lines changed
src/reference/adoc/defs/ts 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 267
267
268
268
269
269
(defn add-header [ts version-key]
270
- (str " // Type definitions for AnyChart JavaScript Charting Library" (str " , v" version-key)
270
+ (str " // Type definitions for AnyChart JavaScript Charting Library" (str " , " (if (string/starts-with? version-key " v" )
271
+ version-key
272
+ (str " v" version-key)))
271
273
" \n // Project: https://www.anychart.com/\n "
272
274
" // Definitions by: AnyChart <https://www.anychart.com>\n "
273
275
ts))
297
299
298
300
299
301
(defn add-graphics-js-header [ts version-key]
300
- (str " // Type definitions for GraphicsJS JavaScript Graphics Library" (str " , v" version-key)
302
+ (str " // Type definitions for GraphicsJS JavaScript Graphics Library" (str " , " (if (string/starts-with? version-key " v" )
303
+ version-key
304
+ (str " v" version-key)))
301
305
" \n // Project: http://www.graphicsjs.org/\n "
302
306
" // Definitions by: AnyChart <https://www.anychart.com>\n "
303
307
ts))
You can’t perform that action at this time.
0 commit comments