Skip to content

TextLayer.update_text - incorrect typing #9

@Andrej730

Description

@Andrej730
import os
from aspose.psd.fileformats.psd.layers import TextLayer


def test(layer: TextLayer, name: str) -> None:
    layer.update_text(name)

Two issues:

  1. Though method does support providing just the str argument, actually providing it results in typing error:
Image
  1. Method doesn't have defined return type, so Unknown is assumed (general issue with the stubs).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions