File tree 3 files changed +4
-15
lines changed
3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 1
- import type { Literal } from 'nlcst'
2
-
3
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions
4
- export interface Emoticon extends Literal {
5
- type : 'EmoticonNode'
6
- }
7
-
8
- declare module 'nlcst' {
9
- // eslint-disable-next-line @typescript-eslint/consistent-type-definitions
10
- interface SentenceContentMap {
11
- emoticon : Emoticon
12
- }
13
- }
1
+ // To do: remove next major.
2
+ export type { Emoticon } from 'nlcst-emoticon-modifier'
Original file line number Diff line number Diff line change 1
1
/**
2
- * @typedef {import('./complex-types.js ').Emoticon } Emoticon
2
+ * @typedef {import('nlcst-emoticon-modifier ').Emoticon } Emoticon
3
3
*/
4
4
5
5
export { affixEmoticonModifier } from './lib/index.js'
Original file line number Diff line number Diff line change 35
35
"dependencies" : {
36
36
"@types/nlcst" : " ^1.0.0" ,
37
37
"@types/unist" : " ^2.0.0" ,
38
+ "nlcst-emoticon-modifier" : " ^2.0.0" ,
38
39
"unist-util-modify-children" : " ^3.0.0"
39
40
},
40
41
"devDependencies" : {
41
42
"@types/node" : " ^18.0.0" ,
42
43
"c8" : " ^7.0.0" ,
43
44
"nlcst-emoji-modifier" : " ^5.0.0" ,
44
- "nlcst-emoticon-modifier" : " ^2.0.0" ,
45
45
"prettier" : " ^2.0.0" ,
46
46
"remark-cli" : " ^11.0.0" ,
47
47
"remark-preset-wooorm" : " ^9.0.0" ,
You can’t perform that action at this time.
0 commit comments