Use keyword arguments for User#create_event
This allows for code completion and fixes another RBS issue
This commit is contained in:
@@ -5,14 +5,10 @@ module Nostr
|
||||
|
||||
def initialize: (?keypair: KeyPair | nil, ?keygen: Keygen) -> void
|
||||
def create_event: (
|
||||
{
|
||||
pubkey: String,
|
||||
created_at: Integer,
|
||||
kind: Integer,
|
||||
tags: Array[String],
|
||||
content: String,
|
||||
created_at: Integer,
|
||||
}
|
||||
kind: Integer,
|
||||
content: String,
|
||||
?created_at: Integer,
|
||||
?tags: Array[Array[String]],
|
||||
) -> Event
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user