Skip to content

Commit 5b9a3da

Browse files
committed
fix: internal fix from name to title
1 parent 30cfe49 commit 5b9a3da

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ declare module 'sourcebin' {
2121
language?: string | number;
2222
}[],
2323
options?: {
24-
name?: string;
24+
title?: string;
2525
description?: string;
2626
},
2727
): Promise<SourceBin>;

src/methods/create.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const get = require('./get.js');
44
/**
55
* File Data Object
66
* @typedef {Object} FileObject
7-
* @property {string} [name] file name
7+
* @property {string} [title] file title
88
* @property {string} content file content
99
* @property {number|string} language language or language id
1010
*/

0 commit comments

Comments
 (0)